import request from '@/utils/request'

// 查询柜机公共配置详细
export function getCabinetConfig(key) {
  return request({
    url: '/mc/cabinetConfig/' + key,
    method: 'get'
  })
}

// 修改柜机公共配置
export function updateCabinetConfig(data) {
  return request({
    url: '/mc/cabinetConfig',
    method: 'put',
    data: data
  })
}
